#include <stdio.h>

#define __pack __attribute__((__packed__))
struct tlv {
	unsigned char type;
	int len;
	unsigned char data[0];
} __pack;


int main(int argc, const char *argv[])
{
	printf("sizeof(tlv) = %d\n", sizeof(struct tlv));
	return 0;
}
